package org.eliza.base.keywords

fun ifx(x: Int) {
    val result = if (x == -1) 0 else 1
}

fun whenx(x: Int) {
    val result = when {
        x in 1..2 ->
            2

        x > 10 ->
            1

        else -> {
            2
        }
    }

    when (result) {
        1 ->
            println(result)

        else -> {

        }

    }
}

fun eq() {
}